package com.xlh.support.training.service;

import com.xlh.support.training.po.TrainingManualSavePO;
import com.xlh.support.training.vo.TrainingManualVO;

/**
 * @author cheer
 */
public interface TrainingManualService {

    /**
     * 查询实训手册
     *
     * @param trainingId 实训Id
     * @return 实验报告
     */
    TrainingManualVO getTrainingManual(Long trainingId);

    /**
     * 查询实训手册markdown
     *
     * @param trainingId 实训Id
     * @return 实验报告
     */
    String getTrainingManualMd(Long trainingId);

    /**
     * 保存实训手册
     *
     * @param trainingId           实训Id
     * @param trainingManualSavePO 实训手册参数
     */
    void saveTrainingManual(Long trainingId, TrainingManualSavePO trainingManualSavePO);
}
